﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RHD.Common.Web.Components.Form {
	public class FormItems {
		private IList<FormItemBuilder> Items { get; set; }

		public FormItems() {
			this.Items = new List<FormItemBuilder>();
		}

		#region Methods

		public FormItemBuilder Add(string label) {
			FormItemBuilder item = new FormItemBuilder();
			item.Label(label);
			this.Items.Add(item);
			return item;
		}

		public IList<FormItemBuilder> GetItems() {
			return this.Items;
		}

		#endregion
	}
}